package com.zhanghe.mall.pojo.repository;

import com.zhanghe.mall.pojo.Staff;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * StaffRespository
 *
 * @author Clevo
 * @date 2018/10/11
 */
public interface StaffRespository extends JpaRepository<Staff,Long> {

    Staff findByAccount_Username(String userName);

}
